package stringbuilder;

public class StringBuilderApiDemo {

    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("hello,");
        sb.append("java");
        System.out.println(sb.toString());
        sb.replace(6,sb.length(),"javascript");
        System.out.println(sb);
        System.out.println(sb.reverse());
    }
}
